import 'package:flutter_enjoy_plus/constants/index.dart';
import 'package:flutter_enjoy_plus/utils/RequestDio.dart';

// 获取公告列表
Future<dynamic> getAnnounceListAPI() {
  return requestDio.get(HTTP_PATH.ANNOUNCE_LIST);
}

// 获取公告详情
Future<dynamic> getAnnounceDetailAPI(String id) {
  return requestDio.get('${HTTP_PATH.ANNOUNCE_LIST}/$id');
}
